package com.hfdg.coordination.entity;

import com.hfdg.prototype.base.annotations.Column;
import com.hfdg.prototype.base.annotations.Table;
import com.hfdg.prototype.base.entity.BaseEntity;

import java.sql.JDBCType;

/**
 * @ClassName CoordTask 协同任务实体类
 * @Description TODO
 * @Author yuelh
 * @Date 2020-4-1 11:30
 * @Version 1.0
 * @Company 会飞的锅工作室
 **/
@Table(name = "coord_task",title = "协同任务",comment = "协同任务信息表")
public class CoordTask extends BaseEntity {
    @Column(title="父级任务UID",comment = "父级任务UID")
    String parentTaskUid;
    @Column(title="事项UID",comment = "关联事项UID")
    String itemUid;
    @Column(title = "任务标题",comment = "任务标题")
    String name;
    @Column(title = "开始时间",comment = "开始时间",type = JDBCType.TIMESTAMP)
    String startTime;
    @Column(title = "完成时间",comment = "完成时间",type = JDBCType.TIMESTAMP)
    String endTime;
    @Column(title = "实际开始时间",comment = "实际开始时间",type = JDBCType.TIMESTAMP)
    String actualStartTime;
    @Column(title = "实际完成时间",comment = "实际完成时间",type = JDBCType.TIMESTAMP)
    String actualEndTime;
    @Column(title="任务分发人",comment = "任务分发人")
    String distributor ;
    @Column(title="任务分发人UID",comment = "任务分发人UID")
    String distributorUid ;
    @Column(title = "任务描述",comment = "任务描述",type = JDBCType.LONGVARCHAR)
    String description;
    @Column(title = "任务处理人",comment = "任务处理人")
    String assignee;
    @Column(title = "进度",comment = "任务完成进度")
    String progress;
    @Column(title = "任务状态",comment = "任务状态，待确认：已确认：进行中：已完成：已中止")
    String taskStatus;

    public String getParentTaskUid() {
        return parentTaskUid;
    }

    public void setParentTaskUid(String parentTaskUid) {
        this.parentTaskUid = parentTaskUid;
    }

    public String getItemUid() {
        return itemUid;
    }

    public void setItemUid(String itemUid) {
        this.itemUid = itemUid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDistributor() {
        return distributor;
    }

    public void setDistributor(String distributor) {
        this.distributor = distributor;
    }

    public String getDistributorUid() {
        return distributorUid;
    }

    public void setDistributorUid(String distributorUid) {
        this.distributorUid = distributorUid;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }
}
